<?php
/**
 * @filename:					ServiceTypeAction.class.php
 * @desc:						服务类型管理模块
 *
 * @author: 				    shenyaqing
 * @copyright:					zhangzhao@huigeyuan.com
 * @date:						2011-05-03
 */


class ServiceTypeAction extends CommonAction
{
    function index()
    {
    	$crumb_info = array(
			array('uri' => '__URL__', 'title' => L('servicetype_manage'), 'sort' => C('CRUMB_LAST')),
		);

		$this->_mergeCrumbInfo($crumb_info);
		$this->_action_link = array(
			array('uri' => '__URL__/add', 'title' => L('add_servicetype')),
		);
		$this->assign('crumb_info', $this->_crumb_info);
		$this->assign('action_link', $this->_action_link);
		$listRows=$_REQUEST ['listRows'];
		parent::index();
    }
    public function add()
    {
       $crumb_info = array(
			array('uri' => '__URL__', 'title' => L('servicetype_manage'), 'sort' => C('CRUMB_DEFAULT')),
			array('uri' => '__URL__/add', 'title' => L('add_servicetype'), 'sort' => C('CRUMB_LAST')),
		);

		$this->_mergeCrumbInfo($crumb_info);
		$this->_action_link = array(
			array('uri' => '__URL__/index', 'title' => L('list_servicetype')),
			);

		$this->assign('crumb_info', $this->_crumb_info);
		$this->assign('action_link', $this->_action_link);

		parent::add();
    }

    public function edit()
    {
       $crumb_info = array(
			array('uri' => '__URL__', 'title' => L('servicetype_manage'), 'sort' => C('CRUMB_DEFAULT')),
			array('uri' => '__URL__/edit/id/' . $_REQUEST['id'], 'title' => L('edit_servicetype'), 'sort' => C('CRUMB_LAST')),
		);

		$this->_mergeCrumbInfo($crumb_info);
		$this->_action_link = array(
			array('uri' => '__URL__/index', 'title' => L('list_servicetype')),
			);

		$this->assign('crumb_info', $this->_crumb_info);
		$this->assign('action_link', $this->_action_link);
		parent::edit();
    }

    public function delete()
    {
       parent::delete();
    }

}

?>